code: def create_inputlist(arglist):
      
      lines = []
      if isinstance(arglist, list):
          for arg in arglist:
              if os.path.splitext(arg)[1] == '.lst':
                  lines += readlines(arg)
              else:
                  lines.append(arg)
      elif is_null(arglist):
          pass
      else:
          if os.path.splitext(arglist)[1] == '.lst':
              lines += readlines(arglist)
          else:
              lines.append(arglist)
      return lines
docs: Read lines from a file and makes a list of file names.
  
      Removes whitespace and lines that start with '#'
      Recursively read all files with the extension '.lst'