first working version
use previous created meta files if exists
unused file removed