File upload functionality automated