'Read a header from a simple text file or file-like object.
Equivalent to::
>>> Header.fromfile(fileobj, sep=\'\n\', endcard=False,
...                 padding=False)
See Also
fromfile'

@classmethod
def fromtextfile(cls, fileobj, endcard=False):

    return cls.fromfile(fileobj, sep='\n', endcard=endcard, padding=False)
