Reorganizing the file information code
Simplified IsValidTagValue
Make sure quality is reset on each method attempt