file = $files.buildFile { |fileBuilder| fileBuilder.setPath("/sdcard/", "") } $console.log(file.getCanonicalPath())