<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def du(*components, **kwargs):
 """ Get the size of a file in bytes or as a human-readable string. Arguments: *components (str[]):
 Path to file. **kwargs: If "human_readable" is True, return a formatted string, e.g. "976.6 KiB" (default True) Returns: int or str: If "human_readble" kwarg is True, return str, else int. """

    human_readable = kwargs.get("human_readable", True)

    _path = path(*components)
    if not exists(_path):
        raise Error("file '{}' not found".format(_path))
    size = os.stat(_path).st_size
    if human_readable:
        return naturalsize(size)
    else:
        return size