Move build_effects_chain() and build_effects_chain_from_file() to effect.c.