def set_file_type(self, payload):
file_path = payload.pop('<STR_LIT>')<EOL>hs_file_type = payload.pop('<STR_LIT>')<EOL>url = "<STR_LIT>".format(<EOL>url_base=self.hs.url_base,<EOL>pid=self.pid,<EOL>file_path=file_path,<EOL>file_type=hs_file_type)<EOL>r = self.hs._request('<STR_LIT:POST>', url, None, payload)<EOL>return r<EOL>
Sets a file to a specific HydroShare file type (e.g. NetCDF, GeoRaster, GeoFeature etc)

:param payload:
    file_path: string (relative path of the file to be set to a specific file type)
    hs_file_type: string (one of the supported files types: SingleFile, NetCDF, GeoRaster,
    RefTimeseries, TimeSeries and GeoFeature)
:return: (object)
    message: string