I added a function to list directories and files if the user does not type any file name in the link.
To make it work, you have to change the LocalPort to whatever port you want the server to listen for connections, and PathShared constant to a valid directory.
To see it in action, type the local ip then ":" and the local port, for example: http://127.0.0.1:8080