old_contents: """
  Main routine of whaler. 
  """
  
  import sys
  from whaler import config
  
  def main(args=None):
      
      # Determine filenames.
      
      if args is None:
          args = sys.argv[1:]
   
      out_name = 'results.csv' #check argparse
      
      # Analyze the data and write the results.
      
      
  if __name__ == "__main__":
      main()
new_contents: """
  Main routine of whaler. 
  """
  
  import sys
  from whaler import config
  
  def main(args=None):
      
      # Determine filenames.
      
      if args is None:
          args = sys.argv[1:]
      
      if len(args) == 0:
          print("No arguments passed.")
      
      
  if __name__ == "__main__":
      main()
subject: Set up main file.