fix crash on opening files
add UnsupportedFileEndingException