extract version and build number from folder