A utility function for generating an index of a BackPAN repository