Fixed bug when you have media files with a - in their name