fix bug in FileUtility