Catalogues files in a folder hierarchy