Extended the resolvePath to search relative to the configuration file
path.