Added legend with the filenames