updated $filesystem to properly be a static var