remove lots of instances, or make the catch statement more specific, e.g. replace Throwable by IOException.