Added code to send created file