setting chain-files