reformat; close resources
make OpenDocumentFile closeable
add new jar