Added uniform index format to file & MongoDB backend.