Use FileUtils . The APIs are not fully compatible, but they are close, and FileUtils is also available for version 1.9.
I would update all the code using ftools to use FileUtils and then smooth out any inconsistencies. It's worth it, FileUtils is here to stay.
source share