public void touch(String name, Path currentDirectory, Scanner scanner) {
		Path path = null;
		boolean succeeded = false;
		path = Paths.get(name);
		if (path.isAbsolute())
			succeeded = true;
		if (!succeeded) {
			path = Paths.get(currentDirectory+"/"+name);
			if (path.isAbsolute())
				succeeded = true;			
		}
		if (succeeded) {
			Charset charset = Charset.forName("UTF-8");
			try (BufferedWriter bufferedWriter = Files.newBufferedWriter(path, charset, StandardOpenOption.CREATE, StandardOpenOption.APPEND)) {
				System.out.println("Enter the text to be written in the file, line by line, until /quit is encountered");
				String line = null;
				do {
					line = scanner.nextLine();
					if (!line.equals("/"+Constants.QUIT_COMMAND)) {
						line += "\n";
						bufferedWriter.write(line, 0, line.length());
					}
				} while (!line.equals("/"+Constants.QUIT_COMMAND));
			} catch (IOException ioException) {
				System.out.println("Operation could not be performed !"+ioException.getMessage());
			}			
		} else 
			System.out.format("File %s could not be created!", name);
	}