print one file, given an open BufferedReader
try {
String inputLine;
//+
while ((inputLine = is.readLine()) != null) {
int toRemove = 0;
for (int i=0; i<nSpaces && i < inputLine.length(); i++)
if (Character.isSpace(inputLine.charAt(i)))
++toRemove;
System.out.println(inputLine.substring(toRemove));
}
//-
is.close();
} catch (IOException e) {
System.out.println("IOException: " + e);
}