revising remote_file robustness to reduce false successes