code: def get_file_list(shortFile):
      if "://" in shortFile:
          return [shortFile]
      expandedFile = os.path.expandvars(os.path.expanduser(shortFile))
      fileList = glob.glob(expandedFile)
      if len(fileList) != 0:
          fileList.sort()
      else:
          logging.warning("No file matches '%s'.", shortFile)
      return fileList