Index: /trunk/psphot/src/psphotParseCamera.c
===================================================================
--- /trunk/psphot/src/psphotParseCamera.c	(revision 7589)
+++ /trunk/psphot/src/psphotParseCamera.c	(revision 7590)
@@ -27,9 +27,9 @@
 
     // these calls bind the I/O handle to the specified fpa
-    pmFPAfileDefineOutput (config->files, config->camera, input->fpa, "PSPHOT.OUTPUT");
+    pmFPAfileDefineOutput (config, input->fpa, "PSPHOT.OUTPUT");
 
     // optionally save the residual image 
     if (psMetadataLookupBool(NULL, recipe, "SAVE.RESID")) {
-	pmFPAfileDefineOutput (config->files, config->camera, input->fpa, "PSPHOT.RESID");
+	pmFPAfileDefineOutput (config, input->fpa, "PSPHOT.RESID");
     }
 
@@ -53,9 +53,9 @@
     // optionally save the PSF Model
     if (psMetadataLookupBool(NULL, recipe, "SAVE.PSF")) {
-	pmFPAfileDefineOutput (config->files, config->camera, input->fpa, "PSPHOT.PSF.SAVE");
+	pmFPAfileDefineOutput (config, input->fpa, "PSPHOT.PSF.SAVE");
     }
     // optionally load the PSF Model
     if (psMetadataLookupBool(NULL, recipe, "LOAD.PSF")) {
-	pmFPAfileDefineInput (config->files, config->camera, input->fpa, "PSPHOT.PSF.LOAD");
+	pmFPAfileDefineInput (config, input->fpa, "PSPHOT.PSF.LOAD");
     }
 
