public void generateFileSystem() {

		fsGenerator.createFolders();

		int minFileSize = Config.getMinSize();
		int maxFileSize = Config.getMaxSize();

		try {

			this.files = fsGenerator.fillFoldersWithFiles(minFileSize, maxFileSize);
		} catch (FoldersNotCreated e) {
			logger.error("Folders not created yet.");
			e.printStackTrace();
		} catch (IOException e) {
			logger.error("Error writing to file.");
			e.printStackTrace();
		}

	}