ofxprocessor /path/to/ofxfile.ofx
It will write a processed.ofx file in the same folder.
processed.ofx
It will not overwrite the original ofx file.