I want to recovre the filename in java I/O :  i had name file in JAVA I/O: f1 = new File("C:\\Program Files\directory\FileDir\file.txt");

I want to recovre the filename only: FileDir(type String) 

thank you.


