updated file extension and index