debug replication.py : replicate document when file is created