def get_requirements(filename='<STR_LIT>'):
with open(filename) as f:<EOL><INDENT>return [<EOL>line.rstrip().split('<STR_LIT:#>')[<NUM_LIT:0>]<EOL>for line in f.readlines()<EOL>if not line.startswith('<STR_LIT:#>')<EOL>]<EOL><DEDENT>
Get the contents of a file listing the requirements.

:param filename: path to a requirements file
:type  filename: str

:returns: the list of requirements
:return type: list