Forgot to ask...did you read Ancestry's source information? Source Information:
"Ancestry.com. Leavenworth, Kansas, U.S. Penitentiary, Name Index to Inmate Case Files, 1895-1931 [database on-line]. Provo, UT, USA: Ancestry.com Operations, Inc. Original data: Leavenworth, Kansas, U.S. Penitentiary, Name Index to Inmate Case Files, 1895-1931. Series: Inmate Case Files, compiled 07/03/1895–06/06/1952. NARA Central Plains Regional Office, digital images A458. Records of the Bureau of Prisons, 1870–2009, Record Group 129. Kansas City, Missouri."
"Description: This series consists of an index of 40,000 records from the Leavenworth, Kansas U.S. Penitentiary of individual inmate case files. While the contents of the files vary from inmate to inmate, nearly all include a "Record Sheet" that gives several details about the inmate's crime, court fines, sentence, etc. Most files include a "mug shot" photograph of the inmate with front and profile views. Learn more..."
Read the "Learn More" .... "The original case files are located at the National Archive at Kansas City, arranged numerically by inmate number. Please make sure to include this number when requesting a copy of a file from the archive.
The National Archives Central Plains Region (Kansas City) 400 West Pershing Road Kansas City, MO 64108 Email: email@example.com"