File reading class draft