Add autodetection of cpanfile.