public boolean exists() {
WrappedSocketConnection connection = null;
try {
connection = new WrappedSocketConnection(host, 1220);
connection.writeByte((byte) RemoteFileServer.Action.EXISTS.ordinal());
connection.writeString(relPath.getPath());
connection.flush();
return connection.readBoolean();
} catch (IOException exp) {
throw new RuntimeException("Received exception while querying exists to " + host + ":" + port, exp);
} finally {