Process one or all files in directory.