@classmethod<EOL><INDENT>def load(klass, filename, inject_env=True):<DEDENT>
p = PipfileParser(filename=filename)<EOL>pipfile = klass(filename=filename)<EOL>pipfile.data = p.parse(inject_env=inject_env)<EOL>return pipfile<EOL>
Load a Pipfile from a given filename.