File upload funtionality used from PAW