Persistence: Output Patterns To Files.