Store import output in a file