Header function implemented with file_list

-implementation successful
-warnings fixed, no more warnings :)
-minor errors fixed
Merge pull request #3 from txlife/master

Header function implemented with file_list