Added tests to prove that the new validation is working. Added the public directory to .gitignore Changed the upfile content_type code to assign txt files to text/plain mime type