if chkfile("ファイル名")==1 then  処理 endif