check if file is online, if not try different