file IO
create filepath, open file and write qvectors to file