Implementing Serializable interface for All FileTrees