code: def slurpLines(file, expand=False):
      r
      file = _normalizeToFile(file, "r", expand)
      try:     return file.readlines()
      finally: file.close()
docs: r"""Read in a complete file (specified by a file handler or a filename
      string/unicode string) as list of lines