use content hash stamping by default
compute file hash AFTER closing the file