This function reads a file, splits it into chunks based on empty lines, and preserves the indentation of each line within a chunk.
This function reads a file, splits it into chunks based on empty lines, and preserves the indentation of each line within a chunk.