code: def db_use_local_file(self, arg, filename=None):
          ''' Use local file for DB. '''
          # interactive = False  # Never used
          if filename is None:
              # interactive = True  # Never used
              filename = raw_input('Enter the filename of the local SQLLite '
                                   'database you would like to use '
                                   '[default=participants.db]: ')
              if filename == '':
                  filename = 'participants.db'
          base_url = "sqlite:///" + filename
          self.config.set("Database Parameters", "database_url", base_url)
          print "Updated database setting (database_url): \n\t", \
          self.config.get("Database Parameters", "database_url")
          if self.server.is_server_running() == 'yes':
              self.server_restart(f db_use_local_file(self, arg, filename=None):
          ''' Use local file for DB. '''
          # interactive = False  # Never used
          if filename is None:
              # interactive = True  # Never used
              filename = raw_input('Enter the filename of the local SQLLite '
                                   'database you would like to use '
                                   '[default=participants.db]: ')
              if filename == '':
                  filename = 'participants.db'
          base_url = "sqlite:///" + filename
          self.config.set("Database Parameters", "database_url", base_url)
          print "Updated database setting (database_url): \n\t", \
          self.config.get("Database Parameters", "database_url")
          if self.server.is_server_running() == 'yes':
              self.server_restart()
docs: Use local file for DB.