replace ' ' with _ in filename, and undo in title