All you need is to use JSR 75 - FileConnection Optional Package.
Class FileSystemRegistry registry will let you list all available roots, and though FileConnection interface you can list files available in the location and do some other things. For quick example you can have look here