Index: src/sas/sascalc/dataloader/readers/abs_reader.py
===================================================================
--- src/sas/sascalc/dataloader/readers/abs_reader.py	(revision bd5c3b11a604dfd75fa3d6424e1ea40bcafd3727)
+++ src/sas/sascalc/dataloader/readers/abs_reader.py	(revision d96744de9a57d30dd495ba032913ed4268252bf5)
@@ -48,4 +48,5 @@
         detector = Detector()
         data_line = 0
+        x_index = 4
         self.reset_data_list(len(lines))
         self.current_datainfo.detector.append(detector)
@@ -63,4 +64,6 @@
         for line in lines:
             # Information line 1
+            if line.find(".bt5") > 0:
+                x_index = 0
             if is_info:
                 is_info = False
@@ -171,5 +174,5 @@
 
                 try:
-                    _x = float(toks[4])
+                    _x = float(toks[x_index])
                     _y = float(toks[1])
                     _dy = float(toks[2])
Index: st/sasdataloader/test/sam14_cor.cor
===================================================================
--- test/sasdataloader/test/sam14_cor.cor	(revision fa749b7a4a403e49b9aa36906bc99a8352341221)
+++ 	(revision )
@@ -1,102 +1,0 @@
-COR FILES: SAM14001.bt5,SAM14002.bt5,SAM14003.bt5,SAM14004.bt5,SAM14005.bt5,SAM14006.bt5
-CREATED: Mon, Nov 30, 2015 at  1:00:40 PM
-LABEL: SAM14                                             
-EMP FILES: EMPTY001.bt5,EMPTY002.bt5,EMPTY003.bt5,EMPTY004.bt5,EMPTY005.bt5,EMPTY006.bt5
-Ds = 0.1 cm ; Twide = 0.92765 ; Trock = 0.91404
-SAM PEAK ANGLE: -0.43618 ; EMP PEAK ANGLE: -0.36015
-EMP LEVEL: 0.76 ; BKG LEVEL: 0.62
-    2.97581e-05         3155.39         9147.36          -0.117          -0.117          -0.117
-    3.25331e-05         57443.8         6532.22          -0.117          -0.117          -0.117
-    3.53081e-05         62828.8         5020.64          -0.117          -0.117          -0.117
-    3.80831e-05         63923.2         4398.92          -0.117          -0.117          -0.117
-    4.08581e-05           46286         3768.69          -0.117          -0.117          -0.117
-    4.36331e-05         44828.3         3631.04          -0.117          -0.117          -0.117
-    4.64081e-05         40226.7          3352.9          -0.117          -0.117          -0.117
-    4.91831e-05         38248.1         3100.51          -0.117          -0.117          -0.117
-    5.19581e-05         30714.4         2741.87          -0.117          -0.117          -0.117
-    5.47331e-05         28509.9         871.909          -0.117          -0.117          -0.117
-    5.69531e-05         28029.2         857.318          -0.117          -0.117          -0.117
-    5.91731e-05         24209.2          801.89          -0.117          -0.117          -0.117
-    6.13931e-05         22778.7         776.291          -0.117          -0.117          -0.117
-    6.36131e-05         21470.9         748.725          -0.117          -0.117          -0.117
-    6.58331e-05         20707.2         727.281          -0.117          -0.117          -0.117
-    6.80531e-05         17602.3         681.713          -0.117          -0.117          -0.117
-    7.02731e-05         16153.7         666.679          -0.117          -0.117          -0.117
-    7.24931e-05         15802.7         643.647          -0.117          -0.117          -0.117
-    7.47131e-05         13851.7         612.392          -0.117          -0.117          -0.117
-    7.69331e-05         13902.5          599.02          -0.117          -0.117          -0.117
-    7.91531e-05         11638.6         567.145          -0.117          -0.117          -0.117
-    8.13731e-05         12131.6         561.296          -0.117          -0.117          -0.117
-    8.35931e-05         12153.5         561.465          -0.117          -0.117          -0.117
-    8.58131e-05           10714         523.847          -0.117          -0.117          -0.117
-    8.80331e-05         9002.54         496.181          -0.117          -0.117          -0.117
-    9.02531e-05         9008.16         488.865          -0.117          -0.117          -0.117
-    9.24731e-05         8893.05         480.203          -0.117          -0.117          -0.117
-    9.46931e-05          8259.5          466.35          -0.117          -0.117          -0.117
-    9.69131e-05         7508.49         441.458          -0.117          -0.117          -0.117
-    9.91331e-05         6954.29         429.735          -0.117          -0.117          -0.117
-    0.000101353         8006.56         448.031          -0.117          -0.117          -0.117
-    0.000103573         7082.72         426.573          -0.117          -0.117          -0.117
-    0.000105793         5543.52         397.209          -0.117          -0.117          -0.117
-    0.000108013         5382.44         376.648          -0.117          -0.117          -0.117
-    0.000110233         5218.78         368.222          -0.117          -0.117          -0.117
-    0.000112453         5571.24         376.055          -0.117          -0.117          -0.117
-    0.000114673         4771.04         355.859          -0.117          -0.117          -0.117
-    0.000116893         5116.54         359.527          -0.117          -0.117          -0.117
-    0.000119113         4564.57         348.322          -0.117          -0.117          -0.117
-    0.000121333         4537.71         339.878          -0.117          -0.117          -0.117
-    0.000123553         3610.84         327.422          -0.117          -0.117          -0.117
-    0.000125773         3642.38         323.242          -0.117          -0.117          -0.117
-    0.000127993         3455.76         299.462          -0.117          -0.117          -0.117
-    0.000130213          3798.4         305.674          -0.117          -0.117          -0.117
-    0.000132433         3576.36         296.536          -0.117          -0.117          -0.117
-    0.000135208         3508.78         191.213          -0.117          -0.117          -0.117
-    0.000146308         2806.89         172.894          -0.117          -0.117          -0.117
-    0.000157408         2160.84         151.037          -0.117          -0.117          -0.117
-    0.000168508         2018.35         144.003          -0.117          -0.117          -0.117
-    0.000179608         1617.46         134.382          -0.117          -0.117          -0.117
-    0.000190708         1638.18         133.187          -0.117          -0.117          -0.117
-    0.000201808         1204.65         119.019          -0.117          -0.117          -0.117
-    0.000212908         1066.33         114.817          -0.117          -0.117          -0.117
-    0.000224008         1134.58         117.193          -0.117          -0.117          -0.117
-    0.000235108         985.606         109.112          -0.117          -0.117          -0.117
-    0.000246208         903.218         103.279          -0.117          -0.117          -0.117
-    0.000257308         1122.34         107.924          -0.117          -0.117          -0.117
-    0.000268408         931.559         100.903          -0.117          -0.117          -0.117
-    0.000279508          941.99         102.397          -0.117          -0.117          -0.117
-    0.000290608         987.108         101.917          -0.117          -0.117          -0.117
-    0.000301708         668.371         67.8889          -0.117          -0.117          -0.117
-    0.000329458         723.492         70.5954          -0.117          -0.117          -0.117
-    0.000357208         527.235         65.5549          -0.117          -0.117          -0.117
-    0.000384958         556.159         64.4845          -0.117          -0.117          -0.117
-    0.000412708         391.723         60.2398          -0.117          -0.117          -0.117
-    0.000440458         531.145         63.4185          -0.117          -0.117          -0.117
-    0.000468208         471.565         62.7555          -0.117          -0.117          -0.117
-    0.000495958         407.099         54.2228          -0.117          -0.117          -0.117
-    0.000523708         389.313         56.3202          -0.117          -0.117          -0.117
-    0.000551458          402.55         55.0228          -0.117          -0.117          -0.117
-    0.000579208         362.722          34.936          -0.117          -0.117          -0.117
-    0.000634708          310.08         33.0426          -0.117          -0.117          -0.117
-    0.000690208          387.88         35.7353          -0.117          -0.117          -0.117
-    0.000745708         236.126         31.3446          -0.117          -0.117          -0.117
-    0.000801208         220.429         30.8858          -0.117          -0.117          -0.117
-    0.000856708             239         30.8613          -0.117          -0.117          -0.117
-    0.000912208          175.32          28.957          -0.117          -0.117          -0.117
-    0.000967708         224.415         30.4937          -0.117          -0.117          -0.117
-     0.00102321         218.604         29.2753          -0.117          -0.117          -0.117
-     0.00107871         213.211         29.9653          -0.117          -0.117          -0.117
-     0.00113421         195.005         41.8901          -0.117          -0.117          -0.117
-     0.00124521         162.356         38.3399          -0.117          -0.117          -0.117
-     0.00135621         141.922         38.0223          -0.117          -0.117          -0.117
-     0.00146721         123.419         38.3763          -0.117          -0.117          -0.117
-     0.00157821         127.101         35.5679          -0.117          -0.117          -0.117
-     0.00168921         96.3196         36.1829          -0.117          -0.117          -0.117
-     0.00180021         147.298         38.9743          -0.117          -0.117          -0.117
-     0.00191121          132.85         36.6815          -0.117          -0.117          -0.117
-     0.00202221         121.225         37.3052          -0.117          -0.117          -0.117
-     0.00213321         41.8228         34.8919          -0.117          -0.117          -0.117
-     0.00224421         88.7933         32.6574          -0.117          -0.117          -0.117
-     0.00235521         107.864         34.5534          -0.117          -0.117          -0.117
-     0.00246621         148.713         33.9059          -0.117          -0.117          -0.117
-     0.00257721          97.396         35.7885          -0.117          -0.117          -0.117
-     0.00268821         109.554         28.7279          -0.117          -0.117          -0.117
Index: test/sasdataloader/test/sam14_cor.txt
===================================================================
--- test/sasdataloader/test/sam14_cor.txt	(revision d96744de9a57d30dd495ba032913ed4268252bf5)
+++ test/sasdataloader/test/sam14_cor.txt	(revision d96744de9a57d30dd495ba032913ed4268252bf5)
@@ -0,0 +1,102 @@
+COR FILES: SAM14001.bt5,SAM14002.bt5,SAM14003.bt5,SAM14004.bt5,SAM14005.bt5,SAM14006.bt5
+CREATED: Mon, Nov 30, 2015 at  1:00:40 PM
+LABEL: SAM14                                             
+EMP FILES: EMPTY001.bt5,EMPTY002.bt5,EMPTY003.bt5,EMPTY004.bt5,EMPTY005.bt5,EMPTY006.bt5
+Ds = 0.1 cm ; Twide = 0.92765 ; Trock = 0.91404
+SAM PEAK ANGLE: -0.43618 ; EMP PEAK ANGLE: -0.36015
+EMP LEVEL: 0.76 ; BKG LEVEL: 0.62
+    2.97581e-05         3155.39         9147.36          -0.117          -0.117          -0.117
+    3.25331e-05         57443.8         6532.22          -0.117          -0.117          -0.117
+    3.53081e-05         62828.8         5020.64          -0.117          -0.117          -0.117
+    3.80831e-05         63923.2         4398.92          -0.117          -0.117          -0.117
+    4.08581e-05           46286         3768.69          -0.117          -0.117          -0.117
+    4.36331e-05         44828.3         3631.04          -0.117          -0.117          -0.117
+    4.64081e-05         40226.7          3352.9          -0.117          -0.117          -0.117
+    4.91831e-05         38248.1         3100.51          -0.117          -0.117          -0.117
+    5.19581e-05         30714.4         2741.87          -0.117          -0.117          -0.117
+    5.47331e-05         28509.9         871.909          -0.117          -0.117          -0.117
+    5.69531e-05         28029.2         857.318          -0.117          -0.117          -0.117
+    5.91731e-05         24209.2          801.89          -0.117          -0.117          -0.117
+    6.13931e-05         22778.7         776.291          -0.117          -0.117          -0.117
+    6.36131e-05         21470.9         748.725          -0.117          -0.117          -0.117
+    6.58331e-05         20707.2         727.281          -0.117          -0.117          -0.117
+    6.80531e-05         17602.3         681.713          -0.117          -0.117          -0.117
+    7.02731e-05         16153.7         666.679          -0.117          -0.117          -0.117
+    7.24931e-05         15802.7         643.647          -0.117          -0.117          -0.117
+    7.47131e-05         13851.7         612.392          -0.117          -0.117          -0.117
+    7.69331e-05         13902.5          599.02          -0.117          -0.117          -0.117
+    7.91531e-05         11638.6         567.145          -0.117          -0.117          -0.117
+    8.13731e-05         12131.6         561.296          -0.117          -0.117          -0.117
+    8.35931e-05         12153.5         561.465          -0.117          -0.117          -0.117
+    8.58131e-05           10714         523.847          -0.117          -0.117          -0.117
+    8.80331e-05         9002.54         496.181          -0.117          -0.117          -0.117
+    9.02531e-05         9008.16         488.865          -0.117          -0.117          -0.117
+    9.24731e-05         8893.05         480.203          -0.117          -0.117          -0.117
+    9.46931e-05          8259.5          466.35          -0.117          -0.117          -0.117
+    9.69131e-05         7508.49         441.458          -0.117          -0.117          -0.117
+    9.91331e-05         6954.29         429.735          -0.117          -0.117          -0.117
+    0.000101353         8006.56         448.031          -0.117          -0.117          -0.117
+    0.000103573         7082.72         426.573          -0.117          -0.117          -0.117
+    0.000105793         5543.52         397.209          -0.117          -0.117          -0.117
+    0.000108013         5382.44         376.648          -0.117          -0.117          -0.117
+    0.000110233         5218.78         368.222          -0.117          -0.117          -0.117
+    0.000112453         5571.24         376.055          -0.117          -0.117          -0.117
+    0.000114673         4771.04         355.859          -0.117          -0.117          -0.117
+    0.000116893         5116.54         359.527          -0.117          -0.117          -0.117
+    0.000119113         4564.57         348.322          -0.117          -0.117          -0.117
+    0.000121333         4537.71         339.878          -0.117          -0.117          -0.117
+    0.000123553         3610.84         327.422          -0.117          -0.117          -0.117
+    0.000125773         3642.38         323.242          -0.117          -0.117          -0.117
+    0.000127993         3455.76         299.462          -0.117          -0.117          -0.117
+    0.000130213          3798.4         305.674          -0.117          -0.117          -0.117
+    0.000132433         3576.36         296.536          -0.117          -0.117          -0.117
+    0.000135208         3508.78         191.213          -0.117          -0.117          -0.117
+    0.000146308         2806.89         172.894          -0.117          -0.117          -0.117
+    0.000157408         2160.84         151.037          -0.117          -0.117          -0.117
+    0.000168508         2018.35         144.003          -0.117          -0.117          -0.117
+    0.000179608         1617.46         134.382          -0.117          -0.117          -0.117
+    0.000190708         1638.18         133.187          -0.117          -0.117          -0.117
+    0.000201808         1204.65         119.019          -0.117          -0.117          -0.117
+    0.000212908         1066.33         114.817          -0.117          -0.117          -0.117
+    0.000224008         1134.58         117.193          -0.117          -0.117          -0.117
+    0.000235108         985.606         109.112          -0.117          -0.117          -0.117
+    0.000246208         903.218         103.279          -0.117          -0.117          -0.117
+    0.000257308         1122.34         107.924          -0.117          -0.117          -0.117
+    0.000268408         931.559         100.903          -0.117          -0.117          -0.117
+    0.000279508          941.99         102.397          -0.117          -0.117          -0.117
+    0.000290608         987.108         101.917          -0.117          -0.117          -0.117
+    0.000301708         668.371         67.8889          -0.117          -0.117          -0.117
+    0.000329458         723.492         70.5954          -0.117          -0.117          -0.117
+    0.000357208         527.235         65.5549          -0.117          -0.117          -0.117
+    0.000384958         556.159         64.4845          -0.117          -0.117          -0.117
+    0.000412708         391.723         60.2398          -0.117          -0.117          -0.117
+    0.000440458         531.145         63.4185          -0.117          -0.117          -0.117
+    0.000468208         471.565         62.7555          -0.117          -0.117          -0.117
+    0.000495958         407.099         54.2228          -0.117          -0.117          -0.117
+    0.000523708         389.313         56.3202          -0.117          -0.117          -0.117
+    0.000551458          402.55         55.0228          -0.117          -0.117          -0.117
+    0.000579208         362.722          34.936          -0.117          -0.117          -0.117
+    0.000634708          310.08         33.0426          -0.117          -0.117          -0.117
+    0.000690208          387.88         35.7353          -0.117          -0.117          -0.117
+    0.000745708         236.126         31.3446          -0.117          -0.117          -0.117
+    0.000801208         220.429         30.8858          -0.117          -0.117          -0.117
+    0.000856708             239         30.8613          -0.117          -0.117          -0.117
+    0.000912208          175.32          28.957          -0.117          -0.117          -0.117
+    0.000967708         224.415         30.4937          -0.117          -0.117          -0.117
+     0.00102321         218.604         29.2753          -0.117          -0.117          -0.117
+     0.00107871         213.211         29.9653          -0.117          -0.117          -0.117
+     0.00113421         195.005         41.8901          -0.117          -0.117          -0.117
+     0.00124521         162.356         38.3399          -0.117          -0.117          -0.117
+     0.00135621         141.922         38.0223          -0.117          -0.117          -0.117
+     0.00146721         123.419         38.3763          -0.117          -0.117          -0.117
+     0.00157821         127.101         35.5679          -0.117          -0.117          -0.117
+     0.00168921         96.3196         36.1829          -0.117          -0.117          -0.117
+     0.00180021         147.298         38.9743          -0.117          -0.117          -0.117
+     0.00191121          132.85         36.6815          -0.117          -0.117          -0.117
+     0.00202221         121.225         37.3052          -0.117          -0.117          -0.117
+     0.00213321         41.8228         34.8919          -0.117          -0.117          -0.117
+     0.00224421         88.7933         32.6574          -0.117          -0.117          -0.117
+     0.00235521         107.864         34.5534          -0.117          -0.117          -0.117
+     0.00246621         148.713         33.9059          -0.117          -0.117          -0.117
+     0.00257721          97.396         35.7885          -0.117          -0.117          -0.117
+     0.00268821         109.554         28.7279          -0.117          -0.117          -0.117
Index: test/sasdataloader/test/utest_abs_reader.py
===================================================================
--- test/sasdataloader/test/utest_abs_reader.py	(revision f4e2f22f114f61e70b4756a304d744184be4ab99)
+++ test/sasdataloader/test/utest_abs_reader.py	(revision d96744de9a57d30dd495ba032913ed4268252bf5)
@@ -77,12 +77,11 @@
 
     def test_usans_negative_dxl(self):
-        data_abs = Loader().load(find("sam14_cor.ABS"))
-        data_cor = Loader().load(find("sam14_cor.cor"))
-        for i in range(0, len(data_abs) - 1):
+        data_abs = Loader().load(find("sam14_cor.ABS"))[0]
+        data_cor = Loader().load(find("sam14_cor.txt"))[0]
+        for i in range(0, len(data_abs.x) - 1):
             self.assertEqual(data_abs.x[i], data_cor.x[i])
             self.assertEqual(data_abs.y[i], data_cor.y[i])
-            self.assertEqual(data_abs.dxl[i], data_cor.dxl[i])
-            self.assertEqual(data_abs.dxw[i], data_cor.dxw[i])
-            self.assertTrue(data_abs.dxl > 0)
+            self.assertEqual(data_abs.dxl[i], -data_cor.dx[i])
+            self.assertTrue(data_abs.dxl[i] > 0)
 
 
