read in file characteristic