make report file optional