Added support for multiple file selection