getFileInfo(): standardize display of file informations.