Clearing the correct directory