resolving paths of plugin files