Modified filestore.php.