I am using SpringBatch to read a InputStream (downloaded from a downstream service) and process that. Here is the config for reader
File tempFile = null;