splitting file name by last dot, not by first one