adding header & footer
ignoring temporary and swap files