final String fileContent = "<html><body>This is a test file</body></html>";
WebResponse createdFile = createFileOnServer("", filename, fileContent);
URL fileLocation = createdFile.getURL();
IPath filepath = new Path(fileLocation.getPath());
filepath = filepath.removeFirstSegments(new Path(FILE_SERVLET_LOCATION).segmentCount()); // chop off leading /file/
filepath = filepath.removeLastSegments(1); // chop off trailing /foo.html
filepath = filepath.makeAbsolute();
filepath = filepath.addTrailingSeparator();
String parentFolder = filepath.toString();
// User B: Give access to test's workspace