filetypespecific stuff got bungled