added way to load cc from file