Reading file names on the controler