Fixed issue #2638 which prevented loading models in sub-folders by passing an array.
Removed new line from the end of the file.
Merge pull request #2641 from aanbar/develop

Fixed issue #2638