a new base file and cleanup