Receive file and write to local
Fixed untracked files