extension check is case insensitive
adds Fortran check
Program functions
Note: paragraph spacing is not preserved in the licence header