avoid changFileName on the missing file
using url join to avoid //
change urljoin version