Added dir cleanup method