also ignore directories in the file lists