Use the correct file to write things into