rename variable and remove useless functions and verif_arg()
using QFileInfo::suffix()