Removed support for files, now operates directly with sql strings