First record in file should be number 0