Upload method is made static.