changed view folder of uploadFile, added index method to upload controller