remove nonnecessary files