Utils to read a file line by line from end to begin of the file.