Read version from path