Add schema file loading

Add schema file loading