head-file bug