Print: add getMetadatasToDisplay

* getMetadatasToDisplay returns a string with the metadata of the file.
* displayMetadatas prints this string.