fix array to string, add datetime

now checks for recent files if we are passed the root directory and have (can determine) category.
Also preserve .cp(ttxxxxx) in names.