Flat file PHP Download Counter with detailed loggin