Strict file filtering (hopefully)