code: public void init(final String path) throws IOException
     {
        SecurityHelper.doPrivilegedIOExceptionAction(new PrivilegedExceptionAction<Object>()
        {
           public Object run() throws Exception
           {
              baseDir = new File(path);
              return null;
           }
        });
     }
docs: {@inheritDoc}