Major updates on test cases of file.php.