modified for Markdown files