Question: how to transfer files through wifi direct?
Answer: Set Android as a mobile hotspot in Settings > Network & Internet > Hotspot & tethering. ... 
Launch Feem on Android and on Windows too. ... 
Send a file from Android to Windows using Wi-Fi Direct, choose the destination device, and tap Send File.