file.read method