external files cleanup