Added basic file upload functionality