pushing html page with the code for curl
checking the file for specified types and error handling