organizes files according to language