Let FileCollector to implement Closeable interface