You won't get the filename prefix if xargs happens to hand grep only one item though. Always throw an extra /dev/null in there, which will be
opened and bypassed, but is enough to ensure more than one filename at all times:
find . -type f -print | xargs grep "whatever you want" /dev/null