added file output and phone info log printing