m7att: improve proprietary file handling