Added file name to exception logging