fixed typo in print line
info footnote for optional files in fprintf