Cleaning up base directory