Fix media viewer to work in AbstractFile objects (also unpacked derived files)