Added code to check if file exists
Updated index.html to be easily parsed
Added safe asprintf macro
Updated read_file to return null if nothing found
Added text_list_to_html function and helpers
Used newly created functions in main. Reading TEXT_FILE now works