Logic for the directory file type was added.
The deprecated annotation was removed.