For a complete implementation using this module (a bit modified) look at the 'Unrar Extract and Recover' project at sourceforge https://sourceforge.net/projects/unrarextractrec/