put function now acpt n filenames to t same group