add files to pages