Ignores irrelevant files in dir Project Euler