try to add file io but failed