File object utilities