Fixed the smartfile dependency