Extract the File abstraction from ExternalStorage.
UILayerService.showFileChooser returns a File instead of a filename.
core: Extract ClasspathResourcesFile for public use.