question: private void applyProfile ( File file , ModelMap model ) { List < String > lines = new ArrayList < > ( ) ; if ( execute ( APPLY_CMD , file , lines ) ) { setCurrentProfile ( file . getName ( ) ) ; model . addAttribute ( "success" , true ) ; model . addAttribute ( "message" , "Success applying profile: " + file . getName ( ) ) ; } else { model . addAttribute ( "success" , false ) ; model . addAttribute ( "message" , "Error applying profile: " + file . getName ( ) ) ; model . addAttribute ( "output" , StringUtils . join ( lines , "\n" ) ) ; } }
target:  Applies a profile to the OpenMRS database. 