minor changes using chunks in file record