Fixed reloading of files.