Trying and excepting when reading file a url fails.