initializing files befor work start