File uploading functionality added