add Submit method to upload files