question: public static TextAnnotation deserializeTextAnnotationFromFile ( String fileName ) throws IOException { File file = new File ( fileName ) ; if ( ! file . exists ( ) ) throw new IOException ( "ERROR: " + NAME + ".deserializeTextAnnotationFromFile(): file '" + fileName + "' does not exist." ) ; return deserializeTextAnnotationFromBytes ( FileUtils . readFileToByteArray ( file ) ) ; }
target:  Read serialized record from file and deserialize it. Expects Thrift serialization format, one record in a single file.