add Prodid element
add exception (file exists)
try{}