Ability to retrieve thumbnails from directories and files