moved measurement and metadata flags to product_file table