Just use SED.. it allows to open, edit, and save .fx files like normal scripts.. it even highlights the syntax in the appropriate way.