from pathlib import Path


def create_filepath(output_path, filename):
    """Return local filepath for image and log files.

    Parameters:
        output_path (str): relative directory path were file is to be located
        filename (str): name of file including extension

    Returns:
        Path: path object (absolute path)
    """

    return Path(Path.cwd(), output_path, filename)