separate out the exclude-file option, as it's used only in the first stage; include a test case for excluding one directory