Added basic fw for sending and receiving a file via socket