added file logging for each instrument