added cfile for domain