added support for file based baseUrls