Adapt programs to generic md_file()
6 files changed