Support loading scheme from file