fix case where parameters filenames has whitespaces