add file handling, get basic device information and save it to log file, getAppLabel to identify log file later on