simplify file path for markdown output