Updated to use meta_type not dir_type as argument to FileManager.