accept cdn url in File's constructor