code: public static void readTextLines(InputStream openRawResource, OnReadLineListener listener) {
  		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(openRawResource));
  		String line;		
  		try {
  			while ((line = bufferedReader.readLine()) != null) {
  				listener.onTextLine(line);				
  			}
  		} catch (IOException e) {
  			Logger.error(e.getMessage());
  			e.printStackTrace();
  		} finally {
  			
  			if (bufferedReader != null) {
  				try {
  					bufferedReader.close();
  				} catch (IOException e) {
  					Logger.error(e.getMessage());
  					e.printStackTrace();
  				}
  			}
  			
  		}
  	}
docs: Read text lines.
  
  @param openRawResource the open raw resource
  @param listener the listener