added prop for getting file info on select and submit of the form
added two new callbacks for file uploading!