question: public void load ( ) throws IOException { if ( asset != null && ! Files . exists ( fileLocation ) ) { asset . copyToFile ( fileLocation ) ; } MalformedInputException exception = null ; for ( Charset charset : characterSetsToTest ) { try { fileContents . clear ( ) ; fileContents . addAll ( Files . readAllLines ( fileLocation , charset ) ) ; exception = null ; break ; } catch ( MalformedInputException ex ) { exception = ex ; } } if ( exception != null ) { throw exception ; } }
target:  Loads the file and refreshes the contents of the file in memory.