public SimpleFileSource mode(Mode mode) {
		this.mode = mode;
		return this;
	}
Determines if the file object or the content of the file should be sent to the output channel.
@param mode 'FILE_AS_BYTES' if file content should be sent to output channel, 'REF' if file object should be sent, 'TEXT_LINE' for splitting the file into Strings (1 per line).
@return the current instance of the SimpleFileSource fixture.
spring-xd-test-fixtures/src/main/java/org/springframework/xd/test/fixtures/SimpleFileSource.java