Added new function to fetch array of all files of a user , to be used with Search Function