initial file functions, well main page