add master and slave files