resolves #153 when the file is deleted, stream is also removed from
registeredstreams