on edit product file type checked