Functions + Rename app.header

- file_write, show_date, get_date, show_month, get_type,
get_unique_type.