@Override
public void baseAccept(final Path path) {
@SuppressWarnings("unchecked")
List<Organization> templateOrganizations =
FileUtils.readSerializableObjectFromFile(path.resolve(Config.FILENAME_ORGANIZATION_TEMPLATE), List.class);
LOGGER.info("Searching for templates using the following organizations: " + templateOrganizations);
Connection connection = Database.getDefaultConnection();
List<Integer> templateIds = Database.selectTemplateIdsWithOrganizations(connection, templateOrganizations);