take vector instead of initializer_list (it's compatible)
added file parsing