Fixed issue with adding multiple files