added twitter code and fixed file_upload.