Added DTSC::File error checking