old_contents: #!/usr/bin/env python
  
  """
  argh
  """
  
  import os
  from roamer.python_edit import file_editor
  from roamer.directory import Directory
  from roamer.edit_directory import EditDirectory
  from roamer.engine import Engine
  from roamer.record import Record
  from roamer.constant import TRASH_DIR
  
  
  def main():
      """
      argh
      """
      if not os.path.exists(TRASH_DIR):
          os.makedirs(TRASH_DIR)
  
      cwd = os.getcwd()
      raw_entries = os.listdir(cwd)
  
      directory = Directory(cwd, raw_entries)
      output = file_editor(directory.text())
      record = Record()
      edit_directory = EditDirectory(cwd, output)
      diff_engine = Engine(directory, edit_directory, record)
      print diff_engine.print_commands()
      diff_engine.run_commands()
      record.add_dir(directory)
  
  if __name__ == "__main__":
      main()
  
new_contents: #!/usr/bin/env python
  
  """
  argh
  """
  
  import os
  from roamer.python_edit import file_editor
  from roamer.directory import Directory
  from roamer.edit_directory import EditDirectory
  from roamer.engine import Engine
  from roamer.record import Record
  from roamer.constant import TRASH_DIR
  
  
  def main():
      """
      argh
      """
      if not os.path.exists(TRASH_DIR):
          os.makedirs(TRASH_DIR)
  
      cwd = os.getcwd()
      raw_entries = os.listdir(cwd)
  
      directory = Directory(cwd, raw_entries)
      output = file_editor(directory.text())
      record = Record()
      edit_directory = EditDirectory(cwd, output)
      engine = Engine(directory, edit_directory, record)
      print engine.print_commands()
      engine.run_commands()
      record.add_dir(directory)
  
  if __name__ == "__main__":
      main()
  
subject: Rename variable