use Path class globally now instead of String for performance