add hack to support markdown files