handle spaces in file names
errors in reorder