Issue #16: replaced some deprecated file methods; added FilesTest.java