Updated concat to create a new file if the primary doesn't exist