public Disk() {
        this.colour = null;
        this.opacityPercent = 0;

        this.os = TintedWindow.getOS();

        if (os == OS.LINUX || os == OS.OSX || os == OS.UNKNOWN)
            this.dataFile = new File(System.getProperty("user.home"), ".tintedwindow");
        else {
            this.dataDirectory = new File(System.getenv("APPDATA"), "Tinted Window");

            if (!this.dataDirectory.exists())
                this.dataDirectory.mkdir();

            this.dataFile = new File(dataDirectory, "Tinted Window.dat");
        }

        if (!dataFile.exists())
            try {
                dataFile.createNewFile();
                writeDefaults();
                assignDefaults();
            } catch (IOException io) {
                io.printStackTrace();
            }
    }