Resolve path relative to file opened in editor.

Closes #59