Delete expired files and retrieve only non expired file