ternary files

Ternary files setup