def METHOD_NAME(self, town_code, measurement_number, user, referer):
    try:
        town_info = self._get_town_by_code(int(town_code))
        if town_info is None:
            return {}
        files = os.listdir(town_info.get('path'))
        mes = self._add_char_before(5, measurement_number)
        files_list = []
        for cur_file in files:
            if cur_file.startswith(mes):
                files_list.append({'filename': cur_file,
                                   'is_downloadable':
                                   self._is_download_authorized(
                                       town_info.get('name'),
                                       user, referer)
                                   })
        if len(files_list) == 0:
            return {}
        return {"town_info": town_info,
                "files": files_list}
    except:
        print(sys.exc_info())
        return {}