Fix bug causing file to be re-read update docs