project to load and write files that are often used
from file_handler import FileHandler
#loading data from two files in filepath1 and filepath2
data = FileHandler.load(file_paths=['filepath1.txt', 'filepath2.json'])
#loading data from one files in filepath1 and
data = FileHandler.load(file_paths='filepath1.txt')
#loading data from two files in filepath1 and filepath2, with password for filepath1
data = FileHandler.load(file_paths={'filepath1.pdf': 'password1', 'filepath2.pdf': None})
#writing data to two files in filepath3 and filepath4
FileHandler.write(file_handler_data={
'filepath3.json': data_for_this_file3,
'filepath4.json': data_for_this_file4
})