Creating files for each plot