Creating a directory or file

This example show how to create a new PrimaryDataDirectory and a new PrimaryDataFile

...		

PrimaryDataDirectory rootDirectory = DataManager.getRootDirectory(mountPoint, mySubject);

/* create new sub directory */

	PrimaryDataDirectory myDirectory = rootDirectory.createPrimaryDataDirectory("directory");
		
/* create new file in sub directory */

	PrimaryDataFile myFile = myDirectory.createPrimaryDataFile("file");
	
...