parses COCONUT DAG files to theano