def find_location(self, root, path):
        dirs = path.split('/')
        if len(dirs) >= 3 and dirs[0] == 'layouts':
            path = u'/'.join(dirs[1:])
            if path.find('layout.html') != -1:
                return None
            else:
                path = safe_join(root, path)
                if os.path.exists(path):
                    return path
        else:
            return None
Gets a filename of a file containing the content for this.
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/loaders/layouts_finders.py/StaticFinder.find_location--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/soil/__init__.py/DownloadBase.get_filename