It paste a file and short the url in python