Add ErrorCodes of TextFile