:bug: raise exception when to open related when no file is opened
Merge pull request #59 from hmatsuda/fixbug-raise-exception-when-no-file-is-opened

BugFix: Raise exception when to open related when no file is opened