Ensuring HTML file correclty uploaded