Read module information from modules files of both snapshot and local system.