Add file information when printing error