Change txt to cfg, ignore cfg