handle markdown files