made remove_file remove it from all connected nodes