\input mfpic \AtBeginDocument{\opengraphsfile{mfpicex}} \AtEndDocument{\closegraphsfile} \endinput