Removing the target directory