remove unecessary factory files