autodetect mediafiles