code: final public void writeFileRecord(int serverAddress, ModbusFileRecord record) throws
              ModbusProtocolException, ModbusNumberException, ModbusIOException {
          processRequest(ModbusRequestBuilder.getInstance().buildWriteFileRecord(serverAddress, record));
      }
docs: This function code is used to perform a file record write. All Request Data Lengths are
  provided in terms of number of bytes and all Record Lengths are provided in terms of the
  number of 16-bit words.
  A file is an organization of records. Each file contains 10000 records, addressed 0000 to
  9999 decimal or 0X0000 to 0X270F. For example, record 12 is addressed as 12.
  The function can write multiple groups of references.
  
  @param serverAddress a server address
  @param record        the ModbusFileRecord to be written
  @throws ModbusProtocolException if modbus-exception is received
  @throws ModbusNumberException   if response is invalid
  @throws ModbusIOException       if remote slave is unavailable