refined uploading service
added a debug file for tokenizer