public CharSequence readSource(JavaFileObject filename){
  try {
    inputFiles.add(filename);
    return filename.getCharContent(false);
  }
 catch (  IOException e) {
    log.error("error.reading.file",filename,JavacFileManager.getMessage(e));
    return null;
  }
}

public CharSequence readSource ( JavaFileObject filename ) { try { inputFiles . add ( filename ) ; return filename . getCharContent ( false ) ; } catch ( IOException e ) { log . error ( "error.reading.file" , filename , JavacFileManager . getMessage ( e ) ) ; return null ; } }
try to open input stream with given name . report an error if this fails .
