old_contents: """
  """
  
  import os
  import paper_to_git.config.config
  import paper_to_git.dropbox
  
  from paper_to_git.utilities import expand
  
  __all__ = [
      'initialize',
  ]
  
  
  def search_for_configuration_file():
      """Search the file system for a configuration file to use."""
      # ./paper_git.cfg
      config_path = os.path.abspath('paper_git.cfg')
      if os.path.exists(config_path):
          return config_path
      # ./var/etc/paper_git.cfg
      config_path = os.path.abspath(
          os.path.join('var', 'etc', 'paper_git.cfg'))
      if os.path.exists(config_path):
          return config_path
      # ~/.paper_git.cfg
      config_path = os.path.join(os.getenv('HOME', '~'), '.paper_git.cfg')
      if os.path.exists(config_path):
          return config_path
      # None of the above configuration files exists.
      return None
  
  
  def initialize(config_path=None, testing=False):
      initialize_1(config_path, testing)
      initialize_2()
  
  
  def initialize_1(config_path=None, testing=False):
      # Initialize the system. The different steps that are initialized are:
      # - configuration
      # - database
      # - dropbox api
  
      # Initialize the configuration first.
      if config_path is None:
          config_path = search_for_configuration_file()
          paper_to_git.config.config.load(config_path)
      # Next, initialize the database.
  
  
  def initialize_2():
      config = paper_to_git.config.config
      url = expand(config.database.url, config.paths)
      # Instantiate the database class, then initialize it. Then stash the object
      # on the config object.
      config.db.initialize(url)
      # Initialize the dropbox object and add it to the config.
      paper_to_git.dropbox.initialize()
  
new_contents: """
  """
  
  import os
  import paper_to_git.config.config
  import paper_to_git.dropbox
  
  from paper_to_git.utilities import expand
  
  __all__ = [
      'initialize',
  ]
  
  
  def search_for_configuration_file():
      """Search the file system for a configuration file to use."""
      # ./paper_git.cfg
      config_path = os.path.abspath('paper-git.cfg')
      if os.path.exists(config_path):
          return config_path
      # ./var/etc/paper_git.cfg
      config_path = os.path.abspath(
          os.path.join('var', 'etc', 'paper-git.cfg'))
      if os.path.exists(config_path):
          return config_path
      # None of the above configuration files exists.
      return None
  
  
  def initialize(config_path=None, testing=False):
      initialize_1(config_path, testing)
      initialize_2()
  
  
  def initialize_1(config_path=None, testing=False):
      # Initialize the system. The different steps that are initialized are:
      # - configuration
      # - database
      # - dropbox api
  
      # Initialize the configuration first.
      if config_path is None:
          config_path = search_for_configuration_file()
          paper_to_git.config.config.load(config_path)
      # Next, initialize the database.
  
  
  def initialize_2():
      config = paper_to_git.config.config
      url = expand(config.database.url, config.paths)
      # Instantiate the database class, then initialize it. Then stash the object
      # on the config object.
      config.db.initialize(url)
      # Initialize the dropbox object and add it to the config.
      paper_to_git.dropbox.initialize()
  
subject: Change the names of the config file, don't look in home dir.