+ /**
+ * Write a string to a file
+ *
+ * @param $file string Path to the file where to write the data.
+ * @param $contents string The data to write.
+ * @param $mode int (optional) The file permissions as octal number, usually 0644.
+ * @param $type string (optional) Specifies additional type of access you require to the file.
+ * @return bool False upon failure.
+ */