updated CommonOperations with file i/o