question: public void uploadFile ( Path fileToUpload , String destinationFileName , boolean overwrite ) throws IOException { Preconditions . checkNotNull ( fileToUpload ) ; Preconditions . checkArgument ( Files . exists ( fileToUpload ) ) ; Preconditions . checkArgument ( ! Strings . isNullOrEmpty ( destinationFileName ) ) ; sauceRest . uploadFile ( fileToUpload . toFile ( ) , destinationFileName , overwrite ) ; }
target:  Uploads a file to SauceLabs. Usually for an app or an apk.