added interface of getting resource path