gets rid of old file