Removing some cruft
Adding a readHeader() function