added support for parameter file