adding search by media type also on the files