rm head files in pistachio