improved, added tue ability to browse directories