file read write
basic working copy with static class replace