creating control files