Both product and file need to be specified.