clean sample file