fixed more then one dot in name of file