No longer crashes on test file, but doesn't actually import anything yet.
Straight copy of the current Everleaf parser