How to get the contents and the line number inside of the text file?

Hello @fniedez yes sir we can the same by below mentioned method

Path.getfilname(“filepath”)