public SQLite(Logger log, String prefix, String name, String location) {
        super(log, prefix, "[SQLite] ");
        this.name = name;
        this.location = location;
        File folder = new File(this.location);
        if (this.name.contains("/") ||
                this.name.contains("\\") ||
                this.name.endsWith(".db")) {
            this.writeError("The database name can not contain: /, \\, or .db", true);
        }
        if (!folder.exists()) {
            folder.mkdir();
        }

        sqlFile = new File(folder.getAbsolutePath() + File.separator + name + ".db");
    }