diff --git a/includes/files.inc b/includes/files.inc
index 8931189..c1f374d 100644
--- a/includes/files.inc
+++ b/includes/files.inc
@@ -213,7 +213,7 @@ class backup_file {
   /**
    * Construct a file object given a file path, or create a temp file for writing.
    */
-  function backup_file($params = array()) {
+  function __construct($params = array()) {
     if (isset($params['filepath']) && file_exists($params['filepath'])) {
       $this->set_filepath($params['filepath']);
     }
