Fixes #3. Adds a custom way to filter files alongside a boolean.

Needs further expansion in the future.