dont set mirror_count if file_url is set
write file_url to log