needed to close a bufferedreader explicitly