Add methods for ttl'ing to file.