getting results as an object list to provide more information on files