implemented SyncFile factory

implemented SyncFIle factory
Allowed multiple synchronized files

allowed a variable number of synchronized files. Also changed to use
java.nio and the Path class