def METHOD_NAME(self, filename, extraArgs):
    """Uploads a file from the local filesystem to AWS S3.
    :param filename: Path to file on local filesystem
    :returns: url to access the uploaded file
    """
    with open(filename, "rb") as data:
        s3_path = _build_s3_file_path(self.prefix, os.path.basename(filename))
        url = self.uploadData(data, s3_path, extraArgs)
    return url