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.
Verify the file list to be deleted:
find ~/foo -type f -empty | sort
~/foo is the directory in which to delete the files and
sort is 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