utils/FileCapture: HANDLING MULTIPLE TRAILING LINE-BREAKS (TODO: TRIM EVERY KIND OF “WHITE SPACE”?)