add the main file of beamer