clean file name and add parametres