Auto sha1 for files