Only process number of bytes actually read from file.