Fixes problem with files not opening when there is no internet connection. Closes #44