hashFile: process filename in chunks