Throw FileNotFound exception when listing a directory that does not
exist, or a file that does not exist.