ignored dirs and files now use closures