FileSystem API example