Fixed an issue when more than 1 file is manually loaded.