I have initialized an InputStream in a single method in a class and passing it to next method for processing. The InputStream essentially encapsulates CSV file for processing.>
You're not doing anything wrong. Just make sure that the method opening a stream/reader also closes it, in a finally block.