adding attributes to file upload controller