Added capability to remove missing files from the shuffled list and ignore empty lines.