Added SQL support to FileManager