added index to correct filename