[FileIO] Corrected readTIN() and made it more robust.