{
fin = new FileInputStream( propsFile );
props.load( fin );
RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
interpolator.addValueSource( new MapBasedValueSource( filter ) );
for ( Iterator it = props.keySet().iterator(); it.hasNext(); )
{
String key = (String) it.next();
String value = props.getProperty( key );
value = interpolator.interpolate( value, "" );