File Sending method changed