question: public static double [ ] readFileColumn ( String filename , int columnIdx , int sizeLimit ) throws IOException , SAXException { Path path = Paths . get ( filename ) ; if ( ! ( Files . exists ( path ) ) ) { throw new SAXException ( "unable to load data - data source not found." ) ; } BufferedReader br = new BufferedReader ( new InputStreamReader ( new FileInputStream ( filename ) , "UTF-8" ) ) ; return readTS ( br , columnIdx , sizeLimit ) ; }
target:  Reads timeseries from a file. Assumes that file has a single double value on every line. Assigned timestamps are the line numbers.