The Barrel Mystery by Flynn, William J. (William James)
 is a Project Gutenberg book, now on Github.