Hash file contents in chunks