remove unnecessary files from repositories