`Return a File object representing the directory of a given name/path.`