If hidden files are true then it skips directories too.