Index file before quantiation.