add file check.
Merge pull request #11 from wakameci/boxes

add file check.