Directory command updated with ability to read subdirectories.