def findFileForUrl(self, url):
    if (url is None):
        return None
    if url.startswith('http'):
        return None
    (path, query) = self.httpServer.pathQueryFromUrl(url)
    filePath = self.httpServer.tryExternalMappings(path, query)
    if ((filePath is None) or (not os.path.exists(filePath))):
        return None
    return filePath
def findFileForUrl(self, url):
    if (url is None):
        return None
    if url.startswith('http'):
        return None
    (path, query) = self.httpServer.pathQueryFromUrl(url)
    filePath = self.httpServer.tryExternalMappings(path, query)
    if ((filePath is None) or (not os.path.exists(filePath))):
        return None
    return filePath