($base,$path,$suffix) = fileparse($file, '\.[^.]*');