Revised SHA1 computation to use lower level functions (since SHA1 went away)
Ignoring side files that get created