added exception in create_fsl_model for yaml files