add clear method to folder