Closes issue 30 : adds full docstring to parse_file