add initial working version of is-xcf