Program save input in file and read new file