minimize sample file