How can I remove uploaded file before submit?