reads targets from a configuration file