Fix indexed file format