Added OSError exception