Difficulty understanding how to implement getLatestSourceFileVersion(String fileName) function

To create a SourceFileVersion object we need a SourceFileVersionArrayListImpl object. And to create a SourceFileVersionArrayListImpl object we will need to pass a FileInfo object to its constructor. How to create a FileInfo object in SourceFileHandlerArrayListImpl class with just the filename provided.
Reference: How to implement getLatestSourceFileVersion()

Dude you already have made the instance of listOfLines, use that !

Can you refer to this FAQ
https://forum.crio.do/t/not-able-to-understand-getlatestsourcefileversion/9577/11

Closing this topic as there is no response since last 12 hours. Please feel free to create a new topic and post this question as a reference link in the description of the new topic.