We created 'all_files' view that initially display just file IDs.
In the hook we transform file IDs into links.
The second view of the example initially displays node Titles and Bodies fields.
In the hook we check if the body is empty and if so, then alter the title with text: "The article with empty body".
We can get the field's name in two ways:
$variables['field']->options['id'] == 'field_myfield');
or