edited saving/retrieving date in/from file as ticks, correct streams work, saving to file while disposing