fix log message in remove_file function