added path tracking so as to open relative headers without breaking, added basic filename style checks