Add an append_file_content function