Added functionality to allow for multipple files to be accepted.