Question: how to transfer files from one laptop to another with hdmi?
Answer: No. HDMI is a media cable only. In theory, you could encode said data into some form of media (audio, video, ) and transfer it through the HDMI and decode it on the target computer. But it'd be much easier to upload the file to the cloud (Google drive, Dropbox, etc) and download it on the target computer.