convert file to markdown