Filter invalid files from extension loader