throws IOException
The `throws` declaration is unnecessary since writeGeneratedContent() will never throw an IOException.