Logging file data on connection.