private void storeDayProgramSchemes(final Scheme[] schemes) {
String home = Plugin.getPluginManager().getTvBrowserSettings().getTvBrowserUserHome();
File schemeFile = new File(home,SCHEME_FILE_DAYPROGRAM);
try {
StreamUtilities.objectOutputStream(schemeFile,
new ObjectOutputStreamProcessor() {
public void process(ObjectOutputStream out) throws IOException {
out.writeInt(1); // version
out.writeInt(schemes.length);
for (Scheme scheme : schemes) {
out.writeObject(scheme.getName());