Moved all printing to logging. Keep track of files not completing nicely