Added parse header to parsing.py