remove file check