public dbConn(String FD)
    {
        try
        {
            lstPeople = new LinkedList<People>();
            this.fdName     = FD;
            this.connection = DriverManager.getConnection("jdbc:sqlite:" + FD );
            this.connected  = true;
            
            this.statement = connection.prepareStatement( "SELECT * FROM t_checker" );
           // this.statement = connection.prepareStatement( "SELECT * FROM t_люди" );
            this.res_set = this.statement.executeQuery();
            
            //check if correct database file
            int checkField = this.res_set.getInt("t_checkerID");
            if(checkField!=666)
            {
                throw new SQLException();
            }
            this.statement.close();
            this.res_set.close();
            
        }
        catch(SQLException sqlEx)
        {
            this.connected = false;
            System.err.println(sqlEx.getMessage() + " unable to resolve database file");
        }
    }