Helper method for last line of file
TodoFile class and tests