Added the ability to upload files.