add a smaller file and sort large file by date