changed to use fgets to read file, time stamp storage feature is back