add import of listmediafiles. fixes #389 #385 #382