Go format, and fix startup bug when data-dir is empty, simplified findLatestFile function somewhat