sped up file reading