Adds version functionality to file uploads