uploading the java and txt file