Index: trunk/psModules/src/camera/pmFPAAstrometry.c
===================================================================
--- trunk/psModules/src/camera/pmFPAAstrometry.c	(revision 41534)
+++ trunk/psModules/src/camera/pmFPAAstrometry.c	(revision 41535)
@@ -3,4 +3,11 @@
 #include "pmFPAAstrometry.h"
 #include "pmFPA.h"
+
+/********** 
+
+	    EAM : this file is not included in the psModules build
+	    alternative versions are defined by psastroMaskUtils.c
+
+ *********/
 
 
@@ -105,4 +112,5 @@
 
 
+// EAM : this function does not handle non-linear transformations.  is it used?
 pmCell* pmCellInChip(
     const psPlane* chipCoord,
@@ -233,4 +241,5 @@
 }
 
+// EAM : this function does not handle non-linear transformations.  is it used?
 psPlane* pmCoordChipToCell(
     psPlane* cellCoord,
Index: trunk/psModules/src/camera/pmFPAfile.c
===================================================================
--- trunk/psModules/src/camera/pmFPAfile.c	(revision 41534)
+++ trunk/psModules/src/camera/pmFPAfile.c	(revision 41535)
@@ -38,4 +38,13 @@
     psTrace ("pmFPAfileFree", 5, "freeing %s %p\n", file->name, file->fits);
     psAssert(!fpaFileFreeStrict || file->fits == NULL, "File %s wasn't closed.", file->name);
+
+    int testFile = FALSE;							
+    testFile = testFile || !strcmp(file->name, "GDIFF.OUTPUT.SOURCES");	
+    testFile = testFile || !strcmp(file->name, "GDIFF.POS1.SOURCES");	
+    testFile = testFile || !strcmp(file->name, "GDIFF.POS2.SOURCES");	
+    if (FALSE && testFile) {							
+      fprintf (stderr, "%s : %d : %d", file->name, file->state, file->mode);
+      fprintf (stderr, "\n");
+    }
 
     psTrace ("pmFPAfileFree", 5, "freeing %s\n", file->name);
Index: trunk/psModules/src/camera/pmFPAfileIO.c
===================================================================
--- trunk/psModules/src/camera/pmFPAfileIO.c	(revision 41534)
+++ trunk/psModules/src/camera/pmFPAfileIO.c	(revision 41535)
@@ -62,4 +62,16 @@
 
 #include "pmFPAfileIO.h"
+
+void CatchTestFile (pmFPAfile *file, const char *function) {
+
+  int testFile = FALSE;							
+  testFile = testFile || !strcmp(file->name, "GDIFF.OUTPUT.SOURCES");	
+  testFile = testFile || !strcmp(file->name, "GDIFF.POS1.SOURCES");	
+  testFile = testFile || !strcmp(file->name, "GDIFF.POS2.SOURCES");	
+  if (FALSE && testFile) {							
+    fprintf (stderr, "%s : %d : %d (%s)", file->name, file->state, file->mode, function);
+    fprintf (stderr, "\n");
+  }
+}
 
 // attempt create, read, write, close, or free pmFPAfiles available in files files are
