Bhaskar.
I'm thinking the below design will work for Header only files. Still thinking through the Files that has footers. But I don't like the idea of bringing in the whole file back into PI , which later might lead to memory/heap issues.
Anupam, has given a perfect solution, but I'm just only concerned with the volume of file. Think through this and see if it make sense.
@Anupam and/all experts- Please feel free to chip in and let me know if there is any flaws you can see in the above design.
Thank you,
Justin.