Added file listener for receiving messages from other instances.