modify master_file by local