Rm dbg msg
Add memoized decorator
Add application process events in openFile (give a slightly smoother impression)
Add memoized to the public API