Added extension check and a function for creating 200-header.
Added file containing supported extensions.