tidy up build file