added support for markdown files