Implemented subdirectory reading