handle ioexception like file not found, io crash