Made the "bypassCache" flag for file locator methods use the master DB