adding File object and more comments