Added file writer, dunno if works.
File writer works.
Finished getPredicates