I am working on file integrity check and I want to check in a given directory if the file has it's corresponding MD5 hash file and return all file names which have the corresponding md5 hash.
for example:
inside directory [
abc.bin abc.bin.md5
efg.bin
qwerty.bin qwerty.bin.md5
xyc.bin
]
the return values: abc.bin, qwerty.bin