Find files in db

Version of script to find files used in db.
Place in files folder. Icons for filetypes held in array as base64
encoded strings