Need to catch the IO Exception.