added multiple file selection support, can set multiple visible/invisible