code: def parse(self, file, skipheader=False, outfile=None):
          
          associations = self.association_generator(file, skipheader=skipheader, outfile=outfile)
          a = list(associations)
          return a
docs: Parse a line-oriented association file into a list of association dict objects
  
          Note the returned list is of dict objects. TODO: These will
          later be specified using marshmallow and it should be possible
          to generate objects
  
          Arguments
          ---------
          file : file or string
              The file is parsed into association objects. Can be a http URL, filename or `file-like-object`, for input assoc file
          outfile : file
              Optional output file in which processed lines are written. This a file or `file-like-object`
  
          Return
          ------
          list
              Associations generated from the file