Separated module resource path logic to function