Tideied output so that generated files are stored seperately.