new_contents: filename = 'menu.py'
  with open(filename) as in_file:
      text = [line.rstrip() + '\n' for line in in_file.readlines()]
  with open(filename, 'w') as out_file:
      out_file.writelines(text)
  
subject: Create zap_carriage_returns.py