implement file / image url generating