Added method for sending a file