Read checksum digest from file with regex