input file can be an url