You can iterate through the file system by looking at file names, retrieving content if it is a directory, etc. recursively.
If the gluing point is the way to get the disks on the computer, look at the File.listRoots () function for a list of drive letters.
ETA:
, . .. ( LINUX/UNIX, Windows).
, , File.getCanonicalPath, "" . getCanonicalFile , , , , , .