Adding new index file, with more powerfull content and moving temporary files to a .tmp folder.