Added ability to reload file in-place. Fixes #2.