parameters: (self, args, tail=None)
return_statement: return files
docstring: Takes a list of arguments, expands any glob patterns, and
          returns the last "tail" files from the list.
docstring_summary: Takes a list of arguments, expands any glob patterns, and
          returns the last "tail" files from the list.
docstring_tokens: Takes a list of arguments expands any glob patterns and returns the last tail files from the list .
function: def args_to_files(self, args, tail=None):
          """
          Takes a list of arguments, expands any glob patterns, and
          returns the last "tail" files from the list.
          """
          files = []
          for a in args:
              files.extend(sorted(glob.glob(a)))
  
          if tail:
              files = files[-tail:]
  
          return files
function_tokens: def args_to_files ( self , args , tail = None ) : files = [ ] for a in args : files . extend ( sorted ( glob . glob ( a ) ) ) if tail : files = files [ - tail : ] return files