updating so it checks for expired files