public FSEntry addFile(String name) throws IOException {
NFS2Client nfsClient = getNFS2Client();
CreateFileResult result;
try {
result = nfsClient.createFile(directoryEntry.getFileHandle(), name, DEFAULT_PERMISSION,
-1, -1, -1, new Time(-1, -1), new Time(-1, -1));
} catch (NFS2Exception e) {
throw new IOException("Can not create the file " + name + "." + e.getMessage(), e);
}