upload dir field in response object of file