improve logging by outputting the absolute filename