added tags for if
uncomment non working file upload. Fix encoding issue before putting in a gain