clean
finish the version starting from files