Switched to using pathlib objects, added utility functions to stringify path