public function refresh()
    {
        unlink($this->get_name());
        #touch($this->get_name());
        $contents = '';
        $date = date('Y-m-d');
        $contents .= <<<CNT
<?php
/**
 * __autoload .INC file
 *
 * Last Modified: {$date}
 */

function __autoload(\$class_name)
{
\tswitch (\$class_name) {
\t
CNT;
        $project_directory = $this->get_project_directory();
        $php_class_files = $project_directory->get_php_class_files();
        foreach ($php_class_files as $p_c_f) {
            $contents .= "\n\t\tcase('" . $p_c_f->get_php_class_name() . "'): \n";
            #$contents .= "\t\t\trequire_once PROJECT_ROOT . '" . $p_c_f->get_name_relative_to_dir(PROJECT_ROOT) . "';\n";
            $contents .= "\t\t\trequire_once PROJECT_ROOT . " . FileSystem_FileNamesInPHPCodeHelper::translate_file_name_to_php_code($p_c_f->get_name_relative_to_dir(PROJECT_ROOT)) . ";\n";
            $contents .= "\t\t\tbreak;\n";
        }
        $contents .= <<<CNT
\t\t
\t}
}

?>

CNT;
        file_put_contents($this->get_name(), $contents);
    }
 public static function test_all_unix_directory_name_with_trailing_slash()
 {
     $test_file_name = 'foo/bar/bam/';
     $desired_output = '\'foo\' . DIRECTORY_SEPARATOR . \'bar\' . DIRECTORY_SEPARATOR . \'bam\' . DIRECTORY_SEPARATOR';
     #echo "\$desired_output: $desired_output\n";
     $output = FileSystem_FileNamesInPHPCodeHelper::translate_file_name_to_php_code($test_file_name);
     return $output == $desired_output;
 }