corrects photoURL and file source