don't open files for HEAD