filename in param, auto scale