only move the file if it exists