bug fix for multiple files
Merge pull request #1 from 1000ch/master

bug fix for a case of multiple files are given