How to Get The Latest Added Files ?

hi people, iwant to code a widgets to show the latest added files

there is a file widgets in elgg,where should i modify to have this?

this is the code in elgg file widget

//get the user's files
    $files = elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'limit' => $number, 'offset' => 0, 'full_view' => FALSE));

how to change this to get the latest ,or all files not just mine thx

 

thx