Fixes #1 - issue with repetitive file edit