Creates an input stream that will be used to read the data from the given inputPath
the Source stream of data to be read
the path from where the data will be read