How to extract a file from a package for comparison purposes?