#12, Adds socket handler for file communication.