def METHOD_NAME(self, prefix, filename):
    full_file_name = "%s%s.txt" % (prefix, filename)
    file_path = "%s%s" % (self.settings.get_data_folder_path(), full_file_name)
    try:
        file = os_open(file_path, O_CREAT | O_EXCL)
        os_close(file)
        return full_file_name
    except IOError as e:
        log.error("Failed to create a new file! Error: %s", e)