Added file existence check before upload
Multiple format changes