fix file.php urls