Added file handling statement