add files of publication and remove unnecessary files