Do you realize that the problem as you have described it has a very simple solution: just put the files in a directory and have your web server serve them directly. The server will list the files automatically when the url corresponding to the directory is accessed.