Index: trunk/psastro/src/psastroDataLoop.c
===================================================================
--- trunk/psastro/src/psastroDataLoop.c	(revision 6792)
+++ trunk/psastro/src/psastroDataLoop.c	(revision 6911)
@@ -1,8 +1,8 @@
 # include "psastro.h"
 
-// load the data from the files in this loop.
-// we write out the result in a second loop
+// this loop just loads the data from the input files.
 // at the end of this function, the complete stellar data is loaded
 // into the correct fpa structure locations (readout.analysis:PSPHOT.SOURCES)
+// all of the different astrometry analysis modes use the same data load loop
 bool psastroDataLoop (pmConfig *config) {
 
@@ -12,4 +12,7 @@
 	exit(EXIT_FAILURE);
     }
+    // de-activate all files except PSASTRO.INPUT
+    psFPAfileActivate (config->files, false, NULL);
+    psFPAfileActivate (config->files, true, "PSASTRO.INPUT");
 
     pmFPAview *view = pmFPAviewAlloc (0);
@@ -42,2 +45,5 @@
     return true;
 }
+
+// we need to suppress other IO files.  we need a function with toggles the mode/state of the
+// pmFPAfiles so the ones of interest are active.
