Add SHA1, if exists, to the filename