Find all the unused files
It maybe isn't exactly what you are after but I found the answer at Find orphaned unused files and images to be most helpful.  Particularly the comment by @Marcos Buarque mentioning comment 7427898 which mentions a nice query to tidy up using the file_delete() function built into D7