work out file path
show code with CodeMirror