Fixed bug for maxlife timestamp. Checking for -1 (forever) wasn't done, files got deleted immediately