Adde .html to file extensions for standard get_requests. Found a cleaner way of checking file path endings.