moved ResourcePath to PathName