raising exception when path is unknown