remove file after finish