Need Help With Flat File Parsing

Can any body help me with me step by step process for parsing a flatfile.
I already tried using the documentation and still I am unable to do it.
Thanks in Advance,

Can you describe where you’re having trouble? If you’re stuck on a specific thing, perhaps we can start with that.

  1. create ffSchema and ff Document type
  2. use pub.flatfile.convertToValues to convert your flatfiledata to flatfileIS document