file sharing subsystem was refactored
added tests from file sharing subsystem
moved to java 8
fixed test SnapshotBuilderTest
a little refactor