Write Java code from a snippet file.