Rename add_to_file to append_to_file