getting hash from tempfile instead of source
happypath testing