ramove most CFIle methods from SWIG
draft of how to reduce swig's output size