a little change in throwing exceptions in server FileIO