Fix local file filtering.