fixed cleaning when internalfile.file_path equals a corresponding receiverfile.file_path.