Check if file exists before sending