func FileNameOnly(fileName string, withExt bool) string {
	if withExt {
		return filepath.Base(fileName)
	}
	return filepath.Base(fileName)[0 : len(filepath.Base(fileName))-len(filepath.Ext(fileName))]
}
// FileNameOnly function to return just the file name
FileNameOnly function to return just the file name
// FileNameOnly function to return just the file name
func FileNameOnly(fileName string, withExt bool) string {
	if withExt {
		return filepath.Base(fileName)
	}
	return filepath.Base(fileName)[0 : len(filepath.Base(fileName))-len(filepath.Ext(fileName))]
}
func FileNameOnly ( fileName string , withExt bool ) string { if withExt { return filepath . Base ( fileName ) } return filepath . Base ( fileName ) [ 0 : len ( filepath . Base ( fileName ) ) - len ( filepath . Ext ( fileName ) ) ] }
FileNameOnly function to return just the file name
FileNameOnly function to return just the file name