Ensured files are indexed in increasing order.