change the file-extention of the file being created in file_reading and file_writing to .bin