adding master and slave files