avoid duplicated avfile