parameters: (filename, separator = ',')
return_statement: return fileData
docstring: Open the specified file and strip out unwanted whitespace and
      empty lines.  Return file as list of lists, one file line per element,
      list elements based upon separator
docstring_summary: Open the specified file and strip out unwanted whitespace and
      empty lines.  Return file as list of lists, one file line per element,
      list elements based upon separator
docstring_tokens: Open the specified file and strip out unwanted whitespace and empty lines . Return file as list of lists one file line per element list elements based upon separator
function: def getFileData(filename, separator = ','):
      """
      Open the specified file and strip out unwanted whitespace and
      empty lines.  Return file as list of lists, one file line per element,
      list elements based upon separator
      """
      f = open(filename.toOsSpecific(), 'r')
      rawData = f.readlines()
      f.close()
      fileData = []
      for line in rawData:
          # First strip whitespace from both ends of line
          l = line.strip()
          if l:
              # If its a valid line, split on separator and
              # strip leading/trailing whitespace from each element
              data = [s.strip() for s in l.split(separator)]
              fileData.append(data)
      return fileData
function_tokens: def getFileData ( filename , separator = ',' ) : f = open ( filename . toOsSpecific ( ) , 'r' ) rawData = f . readlines ( ) f . close ( ) fileData = [ ] for line in rawData : # First strip whitespace from both ends of line l = line . strip ( ) if l : # If its a valid line, split on separator and # strip leading/trailing whitespace from each element data = [ s . strip ( ) for s in l . split ( separator ) ] fileData . append ( data ) return fileData