trying to get file reading working