def read_local_files(*file_paths: str) -> str:
def _read_single_file(file_path):<EOL><INDENT>with open(file_path) as f:<EOL><INDENT>filename = os.path.splitext(file_path)[<NUM_LIT:0>]<EOL>title = f'<STR_LIT>'<EOL>return '<STR_LIT>'.join((title, f.read()))<EOL><DEDENT><DEDENT>return '<STR_LIT:\n>' + '<STR_LIT>'.join(map(_read_single_file, file_paths))<EOL>
Reads one or more text files and returns them joined together.
A title is automatically created based on the file name.

Args:
    *file_paths: list of files to aggregate

Returns: content of files