Ignore directories.

  When finding pages we ignore directories since they cannot
 be read.