private function read_file($file)
  {
    $handler = fopen($file, "r");
    $file_content = fread($handler, filesize($file));
    fclose($handler);

    return $file_content;
  }
private function read_file($file)
  {
    $handler = fopen($file, "r");
    $file_content = fread($handler, filesize($file));
    fclose($handler);

    return $file_content;
  }
private function read_file ( $ file ) { $ handler = fopen ( $ file , "r" ) ; $ file_content = fread ( $ handler , filesize ( $ file ) ) ; fclose ( $ handler ) ; return $ file_content ; }
Creates the handler and reads the files.
@param $file string | The filename.
@return string
Creates the handler and reads the files .