raw file reading working