nit: change these to java.io.IOException