use environment variables to specify KAM and FILE

Seems more portable with recent versions of ant.