files are ordered by uploaded_date