Factory only realize in files