Add ability to read a directory contents to create index response.