only check hash if there are existing files