Remove ununsed interfaces and fix ChunkedFile