The first to file only refers to two inventors patenting the same non public (or public in the span of a year) invention. Anything public for more than a year cannot be patented because there's prior art (obviously).
So if you want to ensure someone don't sue you for a patent, you just have to publish everything you've been using.
Of course this is a lie, because there's always a patent that you can be sued, because even if you can invalidate said patent (even with another patent), you will still have to pay a lot of money.
This has nothing to do with first to file. You still need to meet obviousness and novelty requirements.
The move actually is to reduce the legal wranglings and to come in line with the rest of the world.
It has always been the case that public use or description of an idea was supposed to make it impossible to get a patent.
That's a dead letter today. The patent office will eventually approve just about anything if you're persistent enough and use a thesaurus to make your claims seem a little different.
For instance, an East Texas jury just awarded a $2 million dollar verdict against NewEgg for using public key encryption in SSL. The patent was applied for in 1989. Whit Diffie, of course, invented and published public key encryption in 1976 and testified at the trial. The judge told the jury that the Patent Office was entitled to the presumption of validity over Mr. Diffie.
Experts including Diffie who have discussed it with the mathematicians in question conclude that nobody else had a full working system for it before Diffie published.