write output to a file
glob for directory listing
include date column in output
fix forever looping bug