More replication fixes - replicate to file