use reference name when looking up reference files
Merge pull request #22 from andrewjpage/reffind_ref_searching

use reference name when looking up reference files