put legend above list of needed files