stage0: ensure entire file is copied into hash