Added IOException throws to non compiling methods in library