Clear head from file