Check if index.html exists before listing a directory content, and eventually send it to the browser