Knowledge preservation during the Middle Ages in Europe