I have found many similar questions but never a solution that doesn\'t include brute force re-engineering.
Using this simple subroutine:
Sub readwrite(