Remove older files, Add more metadata event handling