question: public static void deleteSortLocationIfExists ( String tempFileLocation ) throws CarbonSortKeyAndGroupByException { File file = new File ( tempFileLocation ) ; if ( file . exists ( ) ) { try { CarbonUtil . deleteFoldersAndFiles ( file ) ; } catch ( CarbonUtilException e ) { LOGGER . error ( e ) ; } } }
target:  This method will be used to delete sort temp location is it is exites