File (final File rootDir, final String name) { final File file = new File(FileUtil.toSystemIndependentName(rootDir.getAbsoluteFile() + File.separator + name)); FileUtil.createIfDoesntExist(file); return file; }