Saver way to get properties from the uploaded file