Added validation of file
Merge pull request #8 from masayukioguni/add_file_size_check

Added validation of file