ignore paths, not just filenames; fixes issue #38