Fix issue #862 (#863)
Fix issue #862 (#863)

* Fix issue #862

The following changes were applied:

  - Added a condition where the property "file" is checked. If it
    doesn't exist it is copied from the original source file.

* Fix indentation typo

* Fix index.js with 'yarn lint --fix'

babel/babili,babel/babili,babel/babili