renamed file so that it can be used in frameworks like codeigniter