Added ability to send files and get working dir details.