move .cnf to directory