add files used in post