trunc file. # this is where you have the race condition. redirects the data in backup_file to file. closes file