How do i show the filename.type instead of the entire file path? It is JavaFX

Printable View