Improved man page generation
Removed output to archive file
Added a prototype for function write_files()