Handle toplevel files