Debugging file to document conversion