add get resource path to fileuntil