Comment cleanup, documented files_to_intervals()