Fix wrong return type in getDocData. Should be a File object not an uri.
Cleanup. Remove commented code.
Merge branch 'hotfix/wrong-return-type' into develop