GenForm
Generation of molecular formulas by high-resolution MS and MS/MS data
... be downloaded here: https://sourceforge.net/p/genform/code/HEAD/tree/trunk/data/
A first program call could look like this:
GenForm ms=SinapinicAcidMs.txt msms=SinapinicAcidMsMs.txt exist out