set undefined file types earlier