delete old main file