フルパスからファイル名を取得

file=os.path.basename(fullpath)