Index: trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
===================================================================
--- trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 28097)
+++ trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 28153)
@@ -1011,9 +1011,18 @@
     $filename =~ s/\{OUTPUT\}/$output/;
     if ($filename =~ /\{CHIP\.NAME\}/) {
-        my ($chip, $cell) = ($component, $component); # Chip and cell names
+        my $chip = $component; # Chip name (only one component is allowed, will be used for all elements)
         $chip = "fpa" unless defined $chip;
+        $filename =~ s/\{CHIP\.NAME\}/$chip/;
+    }
+    if ($filename =~ /\{CELL\.NAME\}/) {
+        my $cell = $component; # Cell name 
         $cell = "chip" unless defined $cell;
-        $filename =~ s/\{CHIP\.NAME\}/$chip/;
         $filename =~ s/\{CELL\.NAME\}/$cell/;
+    }
+    if ($filename =~ /\{FILE\.ID\}/) {
+        my $fileID = $component; # FILE.ID
+        $fileID = 0 unless defined $fileID;
+	my $fileN = sprintf ("%03d", $fileID);
+        $filename =~ s/\{FILE\.ID\}/$fileN/;
     }
 
