complete creatFileLocally operation test