delete the file from the file list