php controller know gets data from file