Updated directory listing method using DirectoryStream as we just need to browse the current directory.
Fix filename displayed in the listing when navigating at the root path.