added code to cleanup previous expansion files and temporary download files