API to return list of files.