upload file, set url.
generated classes is for testing purposes.