Clearing the folder before rename