fd.directory makes sense just for files and directories