code: def _check_file_io(self):
          
          folder = 'Model' + str(self.flags['RUN_NUM']) + '/'
          folder_restore = 'Model' + str(self.flags['MODEL_RESTORE']) + '/'
          self.flags['RESTORE_DIRECTORY'] = self.flags['SAVE_DIRECTORY'] + self.flags[
              'MODEL_DIRECTORY'] + folder_restore
          self.flags['LOGGING_DIRECTORY'] = self.flags['SAVE_DIRECTORY'] + self.flags[
              'MODEL_DIRECTORY'] + folder
          self.make_directory(self.flags['LOGGING_DIRECTORY'])
          sys.stdout = Logger(self.flags['LOGGING_DIRECTORY'] + 'ModelInformation.log')
          print(self.flags)
docs: Create and define logging directory