Added classes for file IO