cap nhatfile index, ham upload file