CSV - Metadate File download plugin

We consider developing a new plugin as a helper to other plugins. It should allow to download with an array of metadata fields to a csv file for import in for example Excel.

Call could be a view, something like:

echo elgg_view('file_download/csv', array( "object_subtype" => 'profile', "fields" => array('first_name','last_name','street','zip_code','town' )));

Ideas? Does it exist already?