[editor] getCurrentFilePath()

Check that `file` variable is truthy.
[package.json] Update version to v1.1.1