Cleaning the work directory