Imported os library, added line to get list of files in specified directory. Comments added to docstrings.
Added loop to read files in specified directory and add their content to material dict.