If there is an index.html under this directory, it will be displayed;
otherwise the list of files is displayed, with links on their names. After we
run this function, we can go to http://localhost:port to browse the
web pages either created from R or read from HTML files.