Finalized auto-file creator and added required types.