move rm_excess files to its own module so the single file  can be used.