Improved directory listing

- improved the directory listing function
- more file information is loaded