Added an index file to the file output for the coarse database