what in this code can raise an OSError?