public DataSource<String> readTextFile(String filePath) {
		Validate.notNull(filePath, "The file path may not be null.");
		
		return new DataSource<String>(this, new TextInputFormat(new Path(filePath)), BasicTypeInfo.STRING_TYPE_INFO );
	}
public DataSource < String > readTextFile ( String filePath ) { Validate . notNull ( filePath , "The file path may not be null." ) ; return new DataSource < String > ( this , new TextInputFormat ( new Path ( filePath ) ) , BasicTypeInfo . STRING_TYPE_INFO ) ; }
Creates a DataSet that represents the Strings produced by reading the given file line wise.
The file will be read with the system's default character set.

@param filePath The path of the file, as a URI (e.g., "file:///some/local/file" or "hdfs://host:port/file/path").
@return A DataSet that represents the data read from the given file as text lines.