Initialize file

Miner basement function rewrite