remove old main file