You could write an expression in your file in instead of enter everything manualy.I don't really know how to write that.
lol i like the idea and it actually makes me want to make a macro for such a thing. its been a while since ive written any macros due to lack of idea but this one might actually be worth attempting