add file upload location;move file upload path to arguments