Delete cos file