public static File readFile(DataInput in) throws IOException {
    InternalDataSerializer.checkIn(in);

    String s = readString(in);
    File file = null;
    if (s != null) {
      file = new File(s);
    }
    if (logger.isTraceEnabled(LogMarker.SERIALIZER_VERBOSE)) {
      logger.trace(LogMarker.SERIALIZER_VERBOSE, "Read File {}", file);
    }

    return file;
  }
Reads an instance of <code>File</code> from a <code>DataInput</code>. The return value may be
<code>null</code>.

@param in the {@link DataInput} to read from
@return the deserialized <code>File</code>

@throws IOException A problem occurs while reading from <code>in</code>
geode-core/src/main/java/org/apache/geode/DataSerializer.java