filenames can have newlines in them