old_contents: # Library version
  from fbReporter import __version__
  
  import io
  
  import toml
  
  
  def parse_settings(filepath):
      with io.open(filepath) as f:
          return toml.load(f)
  
new_contents: # Library version
  from fbReporter import __version__
  
  import io
  
  from fbReporter.parsers.toml import parse_toml
  
  
  def parse_settings(filepath):
      with io.open(filepath, "r") as f:
          return parse_toml(f)
  
subject: refactor to use parse_toml function for toml settings file parsing