Question: what are the esm files?
Answer: The ESM file format stands for Elder Scrolls Master file. It has been in use since The Elder Scrolls III: Morrowind, and is used in conjunction with the ESP and BSA file formats. All ESPs require an ESM file in order to work. For example, Skyrim ESM file is labeled Skyrim.