- add PthFile class
- add some test coverage