now saves transformations with time-date information and accepts filename as input