Fix for open file descriptors

Fixing open file descriptors issue as well as adding fileClosed event
passthrough from fileSlicer