fix, pass and receive chunk of file in files header