diff --git a/doc/classes/File.xml b/doc/classes/File.xml
index f1b9106d351..9a94231cc12 100644
--- a/doc/classes/File.xml
+++ b/doc/classes/File.xml
@@ -399,8 +399,7 @@
- Stores the given [String] as a line in the file.
- Text will be encoded as UTF-8.
+ Appends [code]line[/code] to the file followed by a line return character ([code]\n[/code]), encoding the text as UTF-8.
@@ -428,8 +427,7 @@
- Stores the given [String] in the file.
- Text will be encoded as UTF-8.
+ Appends [code]string[/code] to the file without a line return, encoding the text as UTF-8.