Added directory scanning of media files