put everything into subfile