fix reading file artifacts
better handling of artifacts and config sync