Filling of carbon nanotubes and nanofibres