added dirs= option to machinefile parsing