//2. use the buffer from the next operation to read file to buffer
//3. switch redirection operation with next one
if(operations.size() > 0) {
ConsoleOperation nextOperation = operations.remove(0);
if( nextOperation.getBuffer().length() > 0) {
AeshLine line = Parser.findAllWords(nextOperation.getBuffer());
currentOperation = new ConsoleOperation(nextOperation.getControlOperator(), op.getBuffer());
Resource fileRelativePath =
getAeshContext().getCurrentWorkingDirectory().newInstance(
Parser.switchEscapedSpacesToSpacesInWord(line.getWords().get(0)));
Resource readFile = fileRelativePath.resolve( context.getCurrentWorkingDirectory()).get(0);
if(readFile.isLeaf()) {
standardStream.setStdIn(new BufferedInputStream( readFile.read()));
output = new ConsoleOperation(nextOperation.getControlOperator(),op.getBuffer());