updated code to include module and also use GridFileSystem class