Modify deleting of old files