Fixed issue #4. Support single files.