Have a file per gate as well as folder per gate library. This will allow the user to easily import new gates from others.