move unit into his own file