master: start to implement file util