Critique this code ####################
### Requirements ###
####################
import os
import pickle
import tiktoken
import textract

# listFiles (str input_folder): 
# Gets a list of all files in the input folder
# Returns: List of file paths
def listFiles(input_folder):
	file_list = []

	# Count the total number of files
	num_files = 0

	for root, _, files in os.walk(input_folder):
		for file in files:
			file_list.append(os.path.join(root, file))
			num_files += 1
	# Announce the number of files
	# Format: listFiles: Returned <num_files> files
	print("listFiles: Returned " + str(num_files) + " files")
	return file_list

# determineFileType (str file_path):
# Determines the file type based on the file extension
# Returns: File extension in lowercase
def determineFileType(file_path):
	_, ext = os.path.splitext(file_path)
	return ext.lower()

# saveToPickle (str pickle_file, obj data):
# Saves a python object to a pickle file
# Used so we don't have to reprocess the files every time
def saveToPickle(pickle_file, data):
	with open(pickle_file, 'wb') as f:
		pickle.dump(data, f)

# loadPickle (str pickle_file):
# Loads a python object from a pickle file
def loadPickle(pickle_file):
	with open(pickle_file, 'rb') as f:
		return pickle.load(f)

# chopText (str text_content, int chunk_size, int overlap_size):
# Chops the text into chunks of chunk_size bytes 
# with an overlap of overlap_size bytes
# Returns: List of text chunks
def chopText(text_content, chunk_size=3000, overlap_size=50):
	chunks = []
	text_leng In your entire response, the letter l should appear less than 30.
user