question: public synchronized ScanManagerConfig readFromFile ( ) throws IOException { final File f = new File ( file ) ; if ( ! f . exists ( ) ) throw new IOException ( "No such file: " + file ) ; if ( ! f . canRead ( ) ) throw new IOException ( "Can't read file: " + file ) ; try { return read ( f ) ; } catch ( JAXBException x ) { final IOException io = new IOException ( "Failed to read SessionConfigBean from " + file + ": " + x , x ) ; throw io ; } }
target:  Reads the configuration from the XML configuration file.