add path of maxim file auto-detecting function