file upload directive changes