Raise an error when irregular file is given

# Changes
- Raise an error when irregular file is given
- Bump up version to `0.1.7`