bugfix: jpgs' treated as subtitle
get file type using gio