quick attempt at using the FileSystem interface