Adding functions to file data reader and writer, written the exceptions and added the DSG command list. Beginning of the DSG programming