Added support for indexing and extracting files from stash.