sorry for late reply, but the file was perfect, as I checked it with schema.
Actually, the save and restore pipeline was not working. The file was not getting stored. So alternatively, I copied the input file to IS and then used getfile service, after which it was working perfectly.
Thank you all for great help and time…will ask more when required.