Update .gitignore to avoid Java libraries.
Update index.php for file upload download function