Corrected a capitalization Error
created new function to write a file and save
Modified save_file function by taking our close and modifying get_input()