main is now modified to use new filenames (e_resistance instead of component)