Minor fix: included file in error logs instead of directory