The file will be opened multiple times without being closed. I believe the behavior of that is implementation defined. You could turn it into a lazily initialized static global, or `fclose` it.