export : test properly for filetype