Add debug message for remotefile.php