added read method in file system