fix use of original url when file blank - not just when file nil