updates .gitignore file
handles file upload issue