Added missing import for IOException