Add conditional and fileoperations