abstract fileInfo away, just pass []string