Added functionality to Read Schema file and related tests