add handling of uploaded file to Console