Devina
You ask some excellent questions.
First of all, with units of measurement (5 liters, ten dollars, 14.6 kg) --- according to dominant scientific convention, these nouns are construed as
singular subjects, regardless of whether or not they are immediately followed by a prepositional phrase. Thus
Five liters of milk is in the refrigerator.
Oil is essential for stir-frying. Three tablespoons is quite enough for frying these wontons.
Ten dollars is too much to pay for a cup of coffee.
Only 14.6 kg of silver was extracted from the mine shaft. That's true for
units of physical measurement, both scientific units (lt-yr, ohm, rad) as well as ordinary grocery-market units (pints, quarts, ounces, gallons).
Now, by contrast, a "dozen" or "half-dozen" -- those are
not a unit of physical measurement. In fact, both of those are just plain ordinary numbers. A "dozen" means 12, and a "half-dozen" means 6. They are 100% interchangeable with their respective numbers. In fact, that's an excellent way to hear what's right --- replace "dozen" or "half-dozen" with "12" or "6". (The indefinite article "a" in front of it doesn't matter at all.)
We know that . . . .
Six files banded together cause work fatigue. . . . is correct, so . . . .
A half-dozen files banded together cause work fatigue. . . . is also correct.
Does all this make sense? Please let me know if you have any further questions.
Mike