updated resistors.txt and added capacitors.txt
add support for line breaks with "\n"