Working on local & server file upload