Fixed problem with single file selection