listing links to all html files in current direction and sending to server side