switched to native API for reading file.