Fixed issue #45, files can now be reloaded properly