Added gitignore file.
Made tmp file to be created in script's folder, but not in the current one.