excluding filelist in .gitignore and changed the getImages function not to write the directory "image" in the path