fix hf_file