Added support for port specification in filename and parameter