@Override
 public Resource rename(String name) {
   GridFSDBFile gridFSDBFile = getGridFSDBFile(getPath(), true);
   JailedResourcePath renamed = getPath().unjail().getParent().get(name);
   gridFSDBFile.put("filename", getFilename(renamed));
   gridFSDBFile.save();
   return getRenamedResource(renamed);
 }
 @Override
 public void touch() {
   GridFSDBFile gridFSDBFile = getGridFSDBFile(getPath(), true);
   gridFSDBFile.put("uploadDate", new Date());
   gridFSDBFile.save();
 }