added a fileupload and made it better