cast file name to string