FileType: implementing Mads modifications