[Working] uses sha1hash.jpg for filenames to avoid collisions