Closing a few unclosed BufferedReaders and InputStreams

PR for a commit that closes a few BufferedReaders and InputStreams