file util bugfix