renaming variables to be app agnostic in file upload resource