clean file head info