c version as readfile,main for running,preprocess for testing,get data property..etc ALL not done yet