cache text file