If faced with a large amount of arbitrarily named files that are empty (zero bytes) and it is desired to delete them, this can be easily done with GNU Findutils. Windows users can do this via Windows Subsystem for Linux.
verify the file list to be deleted:
find ~/foo -type f -empty | sort
~/foois the directory in which to delete the files and
sortis used because in general the files are listed in random order.
If satisfied, actually delete the empty files with:
find ~/foo -type f -empty -delete
GNU Findutils manual